home *** CD-ROM | disk | FTP | other *** search
/ PC Gamer (Italian) 40 / PC Gamer IT CD 40 1-2.iso / ELINK / CLARISHP / _SETUP.1 / HOMEPAGE.exe / 1009 / 175 < prev    next >
Text File  |  1997-02-20  |  4KB  |  97 lines

  1. // -----
  2. // VDL175.txt
  3. // Copyright 1996 Claris
  4. // -----
  5.  
  6. // Modal Help window toolbar
  7.  
  8. /************************** LOCALIZED STRING CONSTANTS BEGIN **************************************/
  9. /************************** LOCALIZED STRING CONSTANTS BEGIN **************************************/
  10. /************************** LOCALIZED STRING CONSTANTS BEGIN **************************************/
  11.  
  12. //This section contains all localizable string constants for this VDL program. Be sure to 
  13. //include the backslash character at the end of each line of a multi-line string, except for the last line.
  14. //You may also flatten multiline constants into a single line, if you prefer
  15.  
  16.  
  17. //WINDOWS LOCALIZER: Note that there are no '&' chars in these strings - hotkeys 
  18. //are not functional in HomePage document windows, so the hotkey char 
  19. //is left out here.
  20.  
  21. #define kLit1 "Back"
  22. #define kLit2 "Back up to the previous help topic"
  23. #define kLit3 "Using Help"
  24. #define kLit4 "Display instructions for using this Help window"
  25.  
  26. #define kOKButtonText "Done"
  27.  
  28.  
  29. /************************** LOCALIZED STRING CONSTANTS END **************************************/
  30. /************************** LOCALIZED STRING CONSTANTS END **************************************/
  31. /************************** LOCALIZED STRING CONSTANTS END **************************************/
  32.  
  33.  
  34. #if Platform_Mac
  35.     #define kOKButtonWidth 70
  36. #else
  37.     #define kOKButtonWidth 100
  38. #endif
  39.  
  40.  
  41. /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
  42. /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
  43. /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
  44.  
  45. //This section contains integer constants that are used to format this VDL program.
  46. //These are localizable - they only need to be changed if the localized strings 
  47. //are sufficiently longer than the US strings. Localize the strings first, then the constants.
  48.  
  49.  
  50.  
  51. /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
  52. /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
  53. /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
  54.  
  55. //No further localizable data past this point
  56.  
  57. /************************** END LOCALIZABLE DATA ***************************************************/
  58. /************************** END LOCALIZABLE DATA ***************************************************/
  59. /************************** END LOCALIZABLE DATA ***************************************************/
  60.  
  61.  
  62. #define EH EnabledHelpString =
  63.  
  64. #define Gap Spacer(Width=10, Height=UseParent)
  65.  
  66. #define ccModalHelpBack            3460
  67. #define ccModalHelpUsing        3461
  68.  
  69. Define(MainToolbarList)
  70.     HList(BackColor = {57015, 57015, 57015}, Width = UseParent)
  71.         {
  72.         PushButton( kLit1, ccModalHelpBack, "None",
  73.                         EH kLit2 );
  74.         Gap;
  75.         PushButton( kLit3, ccModalHelpUsing, "None",
  76.                         EH kLit4 );
  77.         
  78.         Spacer(Width=UseParent, Height=UseParent);
  79.         UnframedDefaultButton(kOKButtonText, 1071, "None", Width = kOKButtonWidth);
  80.         } // HList
  81.  
  82.  
  83. #if Platform_Mac
  84.     Margin(2,2,2,3, Custom = "HeaderBarMarginProc", Width = UseParent)
  85.         Margin(4,3,3,4, BackColor = {57015, 57015, 57015})
  86.             Call(MainToolbarList);
  87. #else
  88.     VList(Width = UseParent, BackColor = Dialog)
  89.         {
  90.         Margin(4,4,4,4, Width = UseParent)
  91.             Call(MainToolbarList);
  92.             
  93.         Spacer(Height = 1, Width = UseParent, BackColor = DkGray);
  94.         Spacer(Height = 1, Width = UseParent, BackColor = Black);
  95.         }
  96. #endif
  97.